#ifndef FILL_STYLE_ARRAY_H
#define FILL_STYLE_ARRAY_H
#include <vector>
#include "type.h"
#include "FillStyle.h"
namespace swfstream {
struct FillStyleArray: public std::vector<FillStyle*> {
	uint8 FillStyleCount; ///< UI8 Count of fill styles
	uint16 FillStyleCountExtended; ///< If FillStyleCount = 0xFF UI16 Extended count of fill styles. Supported only for Shape2 and 	Shape3.
	//std::vector<fill_style*> *FillStyles;///< FILLSTYLE[FillStyleCount] Array of fill styles
	void print();
	static FillStyleArray* from_file(FILE* f, int shape_version);
};
}

#endif
